<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp"%>
<c:if test="${initParam['ssoEnable']=='true'}">
    <%@ include file="/WEB-INF/jsp/manage/common/ssoInclude.jsp" %>
</c:if>
<script type="text/javascript">
$(function() {
	$.acooly.framework.registerKeydown('manage_transactionDeopsit_searchform','manage_transactionDeopsit_datagrid');
});

</script>
<div class="easyui-layout" data-options="fit : true,border : false">
  <!-- 查询条件 -->
  <div data-options="region:'north',border:false" style="padding:5px; overflow: hidden;" align="left">
    <form id="manage_transactionDeopsit_searchform" onsubmit="return false">
      <table class="tableForm" width="100%">
        <tr>
          <td align="left">
          	<div>
				GID: <input type="text" class="text" size="15" name="search_LIKE_gid"/>
				核心交易流水号: <input type="text" class="text" size="15" name="search_LIKE_merchOrderNo"/>
				商户号: <input type="text" class="text" size="15" name="search_LIKE_partnerId"/>
				充值金额: <input type="text" class="text" size="15" name="search_EQ_amount"/>
				<a href="javascript:void(0);" class="easyui-linkbutton" data-options="plain:false" onclick="$.acooly.framework.search('manage_transactionDeopsit_searchform','manage_transactionDeopsit_datagrid');"><i class="fa fa-search fa-lg fa-fw fa-col"></i>查询</a>
          	</div>
          </td>
        </tr>
      </table>
    </form>
  </div>

  <!-- 列表和工具栏 -->
  <div data-options="region:'center',border:false">
    <table id="manage_transactionDeopsit_datagrid" class="easyui-datagrid" url="${pageContext.request.contextPath}/manage/deopsit/transactionDeopsit/listJson.html" toolbar="#manage_transactionDeopsit_toolbar" fit="true" border="false" fitColumns="false"
      pagination="true" idField="id" pageSize="20" pageList="[ 10, 20, 30, 40, 50 ]" sortName="id" sortOrder="desc" checkOnSelect="true" selectOnCheck="true" singleSelect="true">
      <thead>
        <tr>
        	<th field="showCheckboxWithId" checkbox="true" data-options="formatter:function(value, row, index){ return row.id }">编号</th>
			<th field="id" sum="true">ID</th>
			<th field="gid">GID</th>
			<th field="merchOrderNo">核心交易流水号</th>
			<th field="partnerId">商户号</th>
			<th field="gatewayChannelApi">渠道API</th>
			<th field="payBankId">付款银行编码</th>
			<th field="payBankName">付款银行名称</th>
			<th field="payAccountNo">付款方账号</th>
			<th field="payAccountName">付款方账户名</th>
			<th field="recAccountName">收款账户名</th>
			<th field="recAccountNo">收款账户</th>
			<th field="recBankName">收款银行名称</th>
			<th field="recBankId">收款行编码</th>
			<th field="recUnionBankNo">收款行联行号</th>
			<th field="transStatus">交易状态</th>
			<th field="goodsType" formatter="mappingFormatter">商品类型</th>
			<th field="tradeType">交易标识</th>
			<th field="amount" sum="true">充值金额</th>
			<th field="amountIn" sum="true">实际到账金额</th>
			<th field="currency">币种</th>
			<th field="notifyStatus">通知状态</th>
			<th field="extendFields">扩展字段</th>
			<th field="wxAppId">微信APP支付时需要上送 wxAppid</th>
			<th field="deviceType">设备类型</th>
			<th field="openId">微信公众号支付需要上送 openId</th>
			<th field="appId">APPID</th>
		    <th field="gatewayTime" formatter="dateTimeFormatter">发送网关时间</th>
		    <th field="transTime" formatter="dateTimeFormatter">交易时间</th>
		    <th field="settleTime" formatter="dateTimeFormatter">清算时间</th>
			<th field="authCode">授权码</th>
			<th field="goodsMemo">商品描述</th>
			<th field="goodsTitle">商品标题</th>
			<th field="mchCreateIp">终端IP</th>
			<th field="status">结果状态</th>
			<th field="detail">结果信息</th>
			<th field="code">结果码</th>
		    <th field="updateTime" formatter="dateTimeFormatter">update_time</th>
		    <th field="createTime" formatter="dateTimeFormatter">create_time</th>
          	<th field="rowActions" data-options="formatter:function(value, row, index){return formatAction('manage_transactionDeopsit_action',value,row)}">动作</th>
        </tr>
      </thead>
    </table>

    <!-- 每行的Action动作模板 -->
    <div id="manage_transactionDeopsit_action" style="display: none;">
      <a onclick="$.acooly.framework.show('/manage/deopsit/transactionDeopsit/show.html?id={0}',500,400);" href="#" title="查看"><i class="fa fa-file-o fa-lg fa-fw fa-col"></i></a>
    </div>
  </div>
</div>
